package operator.bit;

public class Test {
    public static void main(String[] args) {
        byte b = 5;
        System.out.println(Integer.toBinaryString(b));
        b = (byte) (b >>> 1);
        System.out.printf("b = %d\n", b);
        System.out.println(Integer.toBinaryString(b));


        byte c = 5;
        System.out.printf("c = %d\n", (byte)(c >>> 1));
        System.out.println(Integer.toBinaryString(c >>> 1));
    }
}
